package com.pospi.xstore.dto;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

@Entity
public class OrderBeen implements Serializable{

    @Id(autoincrement = true)
    private Long id;
    private String payway;
    private String time;
    private double ss_money;
    private double ys_money;
    private double zl_money;
    private String order_info;
    private String cashiername;//收银员的信息
    private String cashiernumber;//收银员的信息
    private String shop_id;//店铺的id
    private String detailTime;
    private int orderType;//订单的类型，销售还是退货
    private String maxNo;//小票号
    private String checkoutTime;
    private int hasReturnGoods;
    private String out_trade_no;
    private String payReturn;
    private int searchTime;//用于查询某一个时间段的订单信息的参数
    private String mTableNumber;
    private String mTableId;
    private String vipNumber;
    private String upStatus;//1已上传0未上传
    private int ifFinishOrder;
    public String getUpStatus() {
        return this.upStatus;
    }
    public void setUpStatus(String upStatus) {
        this.upStatus = upStatus;
    }
    public String getVipNumber() {
        return this.vipNumber;
    }
    public void setVipNumber(String vipNumber) {
        this.vipNumber = vipNumber;
    }
    public String getMTableId() {
        return this.mTableId;
    }
    public void setMTableId(String mTableId) {
        this.mTableId = mTableId;
    }
    public String getMTableNumber() {
        return this.mTableNumber;
    }
    public void setMTableNumber(String mTableNumber) {
        this.mTableNumber = mTableNumber;
    }
    public int getSearchTime() {
        return this.searchTime;
    }
    public void setSearchTime(int searchTime) {
        this.searchTime = searchTime;
    }
    public String getPayReturn() {
        return this.payReturn;
    }
    public void setPayReturn(String payReturn) {
        this.payReturn = payReturn;
    }
    public String getOut_trade_no() {
        return this.out_trade_no;
    }
    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }
    public int getHasReturnGoods() {
        return this.hasReturnGoods;
    }
    public void setHasReturnGoods(int hasReturnGoods) {
        this.hasReturnGoods = hasReturnGoods;
    }
    public String getCheckoutTime() {
        return this.checkoutTime;
    }
    public void setCheckoutTime(String checkoutTime) {
        this.checkoutTime = checkoutTime;
    }
    public String getMaxNo() {
        return this.maxNo;
    }
    public void setMaxNo(String maxNo) {
        this.maxNo = maxNo;
    }
    public int getOrderType() {
        return this.orderType;
    }
    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }
    public String getDetailTime() {
        return this.detailTime;
    }
    public void setDetailTime(String detailTime) {
        this.detailTime = detailTime;
    }
    public String getShop_id() {
        return this.shop_id;
    }
    public void setShop_id(String shop_id) {
        this.shop_id = shop_id;
    }
    public String getCashiernumber() {
        return this.cashiernumber;
    }
    public void setCashiernumber(String cashiernumber) {
        this.cashiernumber = cashiernumber;
    }
    public String getCashiername() {
        return this.cashiername;
    }
    public void setCashiername(String cashiername) {
        this.cashiername = cashiername;
    }
    public String getOrder_info() {
        return this.order_info;
    }
    public void setOrder_info(String order_info) {
        this.order_info = order_info;
    }
    public double getZl_money() {
        return this.zl_money;
    }
    public void setZl_money(double zl_money) {
        this.zl_money = zl_money;
    }
    public double getYs_money() {
        return this.ys_money;
    }
    public void setYs_money(double ys_money) {
        this.ys_money = ys_money;
    }
    public double getSs_money() {
        return this.ss_money;
    }
    public void setSs_money(double ss_money) {
        this.ss_money = ss_money;
    }
    public String getTime() {
        return this.time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public String getPayway() {
        return this.payway;
    }
    public void setPayway(String payway) {
        this.payway = payway;
    }
    public int getIfFinishOrder() {
        return this.ifFinishOrder;
    }
    public void setIfFinishOrder(int ifFinishOrder) {
        this.ifFinishOrder = ifFinishOrder;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    @Generated(hash = 583326631)
    public OrderBeen(Long id, String payway, String time, double ss_money, double ys_money,
            double zl_money, String order_info, String cashiername, String cashiernumber,
            String shop_id, String detailTime, int orderType, String maxNo,
            String checkoutTime, int hasReturnGoods, String out_trade_no, String payReturn,
            int searchTime, String mTableNumber, String mTableId, String vipNumber,
            String upStatus, int ifFinishOrder) {
        this.id = id;
        this.payway = payway;
        this.time = time;
        this.ss_money = ss_money;
        this.ys_money = ys_money;
        this.zl_money = zl_money;
        this.order_info = order_info;
        this.cashiername = cashiername;
        this.cashiernumber = cashiernumber;
        this.shop_id = shop_id;
        this.detailTime = detailTime;
        this.orderType = orderType;
        this.maxNo = maxNo;
        this.checkoutTime = checkoutTime;
        this.hasReturnGoods = hasReturnGoods;
        this.out_trade_no = out_trade_no;
        this.payReturn = payReturn;
        this.searchTime = searchTime;
        this.mTableNumber = mTableNumber;
        this.mTableId = mTableId;
        this.vipNumber = vipNumber;
        this.upStatus = upStatus;
        this.ifFinishOrder = ifFinishOrder;
    }
    @Generated(hash = 1978301428)
    public OrderBeen() {
    }
}
